home *** CD-ROM | disk | FTP | other *** search
/ Tripas 2 / TRIPAS 002.iso / RRRA.exe / BILLPLAY.CON < prev    next >
Encoding:
Text File  |  1998-07-02  |  633 b   |  37 lines

  1. // The Billyray jamming away  
  2. // Programmed by Joseph Aurili
  3.  
  4. // Define actions
  5. action ABILLYPLAY_PLAY  0   3   1  1  20
  6.  
  7. // Define movements
  8. move BILLYPLAY_STOP
  9.  
  10. // Define AI states
  11. ai AIBILLYPLAY_PLAY ABILLYPLAY_PLAY BILLYPLAY_STOP faceplayer   
  12.  
  13. // Actors ********************************************
  14. actor BILLYPLAY 10000 ABILLYPLAY_PLAY
  15.   fall
  16.  
  17.   // Start and stay with play
  18.   ifai 0
  19.   {
  20.     cstator 257
  21.     ai AIBILLYPLAY_PLAY
  22.   }
  23.   
  24.   // Billyray takes a hit
  25.   ifhitweapon
  26.   {
  27.     state random_wall_jibs
  28.     spawn BLOOD
  29.     ifrnd 64
  30.     {
  31.       sound BR_PAIN 
  32.       break;
  33.     }
  34.   }
  35. enda
  36.  
  37.